package com.terrynoya.fight.stateMachine.controllers
{
	import com.terrynoya.fight.char.Character;
	import com.terrynoya.fight.stateMachine.StateController;
	import com.terrynoya.geom.MVector2D;
	
	public class HitVelSet extends StateController
	{
		public function HitVelSet(name:String)
		{
			super(name);
		}
		
		override public function run(character:Character):void
		{
			var hitvel:MVector2D = character.defensiveInfo.getHitVelocity();
			character.velocity = hitvel;
		}
	}
}